package com.wm.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 区县信息表
 * </p>
 *
 * @author hyq
 * @since 2023-10-23 11:15:21
 */
@Getter
@Setter
@TableName("t_county")
@ApiModel(value = "TCounty对象", description = "区县信息表")
public class TCounty implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("区县编码")
    @TableField("`code`")
    private String code;

    @ApiModelProperty("区县名称")
    @TableField("`name`")
    private String name;

    @ApiModelProperty("所属城市编码")
    @TableField("cityCode")
    private String cityCode;


}
